package com.ffox.service;

import com.ffox.entity.SchoolApproval;
import com.ffox.entity.SchoolInformation;
import com.ffox.result.Result;

import java.util.List;
import java.util.Map;

public interface PlatformSchoolService {
//    查看全部审核
    public Result<List<SchoolApproval>> getAllSchoolApproval();
//    审核通过与拒绝
    public Result<Integer> updateSchoolApproval(Long id, Integer status);
//    查看全部已创建学校
    public Result<List<SchoolInformation>> getAllSchoolInformation();
//    已创建学校编辑功能
    public Result<Integer> updateSchoolInformation( Long id, Map<String, Object> params);
//    已创建学校状态修改功能
    public Result<Integer> updateSchoolStatus(Long id, Integer status);
}
